<!-- BEGIN: main -->
<div class="span9">
	<div class="step_bar clearfix">
		<a class="btn btn-orange" title="{LANG.cart_check_cart}" href="{LINK_CART}">{LANG.cart_check_cart}</a>
		<a class="btn btn-orange" title="{LANG.cart_order}" href="#">{LANG.cart_order}</a>
	</div>
	<br>
	<p class="error">{LANG.order_info}</p>
	<form action="" method="post" name="fpost" id="fpost" class="form-horizontal">
			<input type="hidden" value="1" name="postorder">
		<fieldset>
			<div class="span4">
                    <div class="control-group">
                      <label class="control-label" >{LANG.order_name}<span class="red">*</span></label>
						  <div class="controls">
							<input type="text" name="order_name" class="" value="{DATA.order_name}" />
							<span class="error">{ERROR.order_name}</span>
						  </div>
                    </div>
					<div class="control-group">
                      <label class="control-label" >{LANG.order_email}<span class="red">*</span></label>
						  <div class="controls">
							<input type="text" name="order_email" class="" value="{DATA.order_email}" />
							<span class="error">{ERROR.order_email}</span>
						  </div>
                    </div>
					<div class="control-group">
                      <label class="control-label" >{LANG.order_phone}<span class="red">*</span></label>
						  <div class="controls">
							<input type="text" name="order_phone" class="" value="{DATA.order_phone}" />
							<span class="error">{ERROR.order_phone}</span>
						  </div>
					</div>
					<div class="control-group">
                      <label class="control-label" >{LANG.order_address}<span class="red">*</span></label>
						  <div class="controls">
							<input type="text" name="order_address" class="" value="{DATA.order_address}" />
							<span class="error">{ERROR.order_address}</span>
						  </div>
                    </div>
			</div>
		</fieldset>
			<div class="cart-info">
              <table class="table table-striped table-bordered">
					<tr>
					  <th class="image">{LANG.order_no_products}</th>
					  <th class="name">{LANG.cart_products}</th>
					  <!-- BEGIN: price1 -->
					  <th class="model">{LANG.cart_price} ({unit_config})</th>
					  <!-- END: price1 -->
					  <th class="quantity">{LANG.cart_numbers}</th>
					  <th class="price">{LANG.cart_unit}</th>
					</tr>
					<!-- BEGIN: rows -->
					<tr>
						  <td  class="name">{pro_no}</td>
						  <td class="model"><a title="{title_pro}" href="{link_pro}">{title_pro}</a></td>
						  <!-- BEGIN: price2 -->
						  <td class="quantity">
						  {product_price}
						  </td>
						  <!-- END: price2 -->
						  <td class="price">{pro_num}</td>
						  <td class="total">{product_unit}</td>
					</tr>
					<!-- END: rows -->
				</table>
			</div>
		<!-- BEGIN: price3 -->
		<table class="rows" style="margin-top: 2px">
			<tr>
				<td align="right">{LANG.cart_total}: <strong id="total">{price_total}</strong>
				{unit_config}</td>
			</tr>
		</table>
		<!-- END: price3 -->
		
		<table class="rows2" style="margin-top: 2px">
			<tr>
				<td>{LANG.order_note}</td>
			</tr>
			<tr>
				<td><textarea rows="3" name="order_note">{DATA.order_note}</textarea></td>
			</tr>
		</table>
		<table class="rows3" style="margin-top: 2px">
			<tr>
				<td><input type="checkbox" name="check" value="1" id="check" /><span id="idselect">{LANG.order_true_info}</span> <br /> <span class="error">{ERROR.order_check}</span></td>
				<br><td align="right" class="no-wrap"><a class="btn btn-orange pull-right" title="{LANG.order_submit_send}" href="#" id="submit_send"><span>{LANG.order_submit_send}</span></a></td>
			</tr>
		</table>
	</form>
</div>
<script type="text/javascript">
$("#submit_send").click(function(){
	$("#fpost").submit();
	return false;
});
$("#idselect").click(function(){
	if ($("#check").attr("checked")){
		$("#check").removeAttr("checked");
	}
	else{
		$("#check").attr("checked", "checked");
	}
	return false;
});
</script>
<!-- END: main -->
